github.com/gotd/td/internal/crypto.Cipher.rand (field)

5 uses

	github.com/gotd/td/internal/crypto (current package)
		cipher.go#L7: 	rand        io.Reader
		cipher.go#L13: 	return c.rand
		cipher.go#L18: 	return Cipher{rand: rand, encryptSide: Client}
		cipher.go#L23: 	return Cipher{rand: rand, encryptSide: Server}
		cipher_encrypt.go#L18: 	if _, err := io.ReadFull(c.rand, plaintext.Buf[offset:]); err != nil {